<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:c="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui">
<h:head>

</h:head>
<h:body>
	<p:panel>

		<p:graphicImage value="/home/rjulio/imagens/75091.jpg"></p:graphicImage>
		<p:separator id="separator" />

	</p:panel>
	<h:form>
		<p:panel id="panel" style="margin-bottom:10px;font-size:18px;"
			toggleable="true" toggleOrientation="vertical">
			<h:panelGrid columns="2">
				<h:outputLabel for="login" value="Login:" />
				<p:inputText id="login" value="#{loginController.login}"
					required="true" label="Login">
					<c:validateLength minimum="4" />
				</p:inputText>


				<p:outputLabel for="password" value="Senha:" />
				<p:password id="password" value="#{loginController.pwd}"
					required="true" label="Senha" />

			</h:panelGrid>
			<p:separator id="separator" />
			<p:messages id="messages" autoUpdate="true"
				closable="true" />
				
			<p:commandButton action="#{loginController.efetuarLogin}"
				value="Entrar" style="margin-right:20px;font-size: 12px;"/>
		</p:panel>


	</h:form>

</h:body>
</html>